bufio.Writer.buf (field)
18 uses
bufio (current package)
bufio.go#L581: buf []byte
bufio.go#L592: if ok && len(b.buf) >= size {
bufio.go#L599: buf: make([]byte, size),
bufio.go#L612: func (b *Writer) Size() int { return len(b.buf) }
bufio.go#L626: if b.buf == nil {
bufio.go#L627: b.buf = make([]byte, defaultBufSize)
bufio.go#L642: n, err := b.wr.Write(b.buf[0:b.n])
bufio.go#L648: copy(b.buf[0:b.n-n], b.buf[n:b.n])
bufio.go#L659: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L666: return b.buf[b.n:][:0]
bufio.go#L684: n = copy(b.buf[b.n:], p)
bufio.go#L694: n := copy(b.buf[b.n:], p)
bufio.go#L708: b.buf[b.n] = c
bufio.go#L738: size = utf8.EncodeRune(b.buf[b.n:], r)
bufio.go#L764: n = copy(b.buf[b.n:], s)
bufio.go#L774: n := copy(b.buf[b.n:], s)
bufio.go#L804: m, err = r.Read(b.buf[b.n:])
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |